home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
F1 Licenseware
/
F1 Licenseware - Volume 1.iso
/
disks
/
089a.dms
/
089a.adf
/
EXAMPLE_PROGRAMS
/
example08.AMOS
/
example08.amosSourceCode
Wrap
AMOS Source Code
|
1992-03-06
|
2KB
|
65 lines
'=================
'EXAMPLE PROGRAM 8
'=================
Rem the usual start up stuff
'---------------------------
Curs Off : Paper 8 : Pen 0 : Cls 8
Rem the CENTRE command is used instead of PRINT, to CENTRE text on screen.
'-------------------------------------------------------------------------]
Centre "DEMONSTRATION OF CHANGE MOUSE"
Rem colour 3 is set to flashing as default, you can switch flash off with
Rem the command FLASH OFF, try putting it in.
'--------------------------------------------------------------------------
Pen 3
Rem set text cursor to 0 across 10 down and CENTRE the text, as the current
Rem PEN colour is set to 3 this text will FLASH.
'---------------------------------------------------------------------------
Locate 0,10 : Centre "NORMAL MOUSE POINTER"
Rem wait here for 4 seconds to give enough time to read the text.
'----------------------------------------------------------------
Wait 200
Rem you tell me what this does!
'-------------------------------
Locate 0,10 : Centre "CROSS HAIR MOUSE POINTER"
Rem This is to CHANGE the MOUSE pointer to image 2
'---------------------------------------------------
Change Mouse 2
Rem WAIT 4 SECONDS
'-----------------
Wait 200
Rem If you still don't understand CENTRE change it to PRINT and you will
Rem understand it then.
'-------------------------------------------------------------------------
Locate 0,10 : Centre "CLOCK MOUSE POINTER, UGH!"
Rem CHANGE the MOUSE to clock
'-----------------------------
Change Mouse 3
Rem hang around for 4 seconds
'----------------------------
Wait 200
Rem go back to the editor
'------------------------
Edit